import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

import './assets/main.css'
//v-md-editor编辑器配置
import { VMdEditor, VMdPreview, VMdPreviewHtml } from './config/MdEditor'
//ant-design-vue组件导入
import antdv from './config/antdv.js'

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(VMdEditor)
app.use(VMdPreview)
app.use(VMdPreviewHtml)
app.use(antdv)
app.mount('#app')
